package com.mf.entity.vo.dept;

import io.github.heollhai.common.utils.tree.AbstractTreeNode;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @Author: lmf
 * @Create: 2024/9/20 13:09
 * Description:
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class DeptVo extends AbstractTreeNode<DeptVo,Integer,Integer> {
    @Schema(description = "部门id")
    private Integer id;
    @Schema(description = "部门名称")
    private String name;
    @Schema(description = "所属上级")
    private Integer pid;

    @Schema(description = "部门负责人id")
    private Integer managerId;

    @Schema(description = "1启用，0禁用")
    private Integer status;
    @Schema(description = "备注")
    private String remark;
    @Schema(description = "排序")
    private Integer sort;

    private LocalDateTime createdTime;

    private LocalDateTime updateTime;
}
